﻿* {
    box-sizing:  border-box;
}

html{
    font-family:  sans-serif;
}

body{
    margin:0;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    height: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #540075;
    box-shadow: 0 2px 6px rgba(0,0,0,0.26);
}

header h1{
    color:white;
    font-size: 2rem;
}

button{
    background: #540075;
    color:white;
    border:1px solid #540075;
    border-radius: 5px;
    padding:0.5rem 2rem;
    font:inherit;
    cursor: pointer;
}

button:focus{
    outline: none;
}

button:hover,
button:active{
    background: #790fa3;
    border-color:  #790fa3;
}

.cart{
    margin:5rem 2rem;
    border:2px solid #540075;
    border-radius: 10px;
    padding:2rem;
    display: flex;
    justify-content:  space-between;
}

.cart h2{
    margin:0;
    font-size: 1.5rem;
    color:#540075;
}

.product-list{
    list-style: none;
    margin:0 2rem;
    padding:0;
}

.product-item{
    margin:2rem auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.26);
    width:50rem;
    max-width: 90%;
}